package com.reverie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reverie.common.pojo.CommonPageReq;
import com.reverie.entity.User;

public interface IUserService extends IService<User> {
    User login(User user);

    User getByUsername(String username);

    Page<User> getPage(CommonPageReq<User> pageParam);
}
